dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f1fe0
)
Add string cast when outputting exceptions in sql.php
author
Umherirrender
<umherirrender_de.wp@web.de>
Thu, 4 Jul 2019 20:33:35 +0000
(22:33 +0200)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sun, 1 Sep 2019 18:43:18 +0000
(20:43 +0200)
Change-Id: Ibf21869a2525a8c55f53ec79727c818888344e99
maintenance/sql.php
patch
|
blob
|
history
diff --git
a/maintenance/sql.php
b/maintenance/sql.php
index
612c092
..
e7988fe
100644
(file)
--- a/
maintenance/sql.php
+++ b/
maintenance/sql.php
@@
-175,9
+175,9
@@
class MwSql extends Maintenance {
return $this->sqlPrintResult( $res, $db );
} catch ( DBQueryError $e ) {
if ( $dieOnError ) {
- $this->fatalError( $e );
+ $this->fatalError(
(string)
$e );
} else {
- $this->error( $e );
+ $this->error(
(string)
$e );
}
}
return null;